package com.demo.thread.local;

/**
 * @author : YU.TAN
 * @date : 2021/11/2 16:47
 */
public class ThreadLocalA {
    public static void main(String[] args) {
        ThreadLocal threadLocal=new ThreadLocal();

    }

    public class Data{
        private int num;
        private String value;

        public Data(){}
        public Data(int num,String value){
            this.num=num;
            this.value=value;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
